From: Matthias Clasen Date: Tue, 2 Oct 2012 02:29:21 +0000 (-0400) Subject: Really hide 'Show Keyboard Layout' on the lock screen X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5689 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=24efeff7882299e14836dead0377f7939293017b;p=gnome-shell.git Really hide 'Show Keyboard Layout' on the lock screen We have to set _showLayoutItem.actor.visible, not _showLayoutItem.visible. --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index fb9e0c962..f12c787d5 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -238,7 +238,7 @@ const InputSourceIndicator = new Lang.Class({ // but at least for now it is used as "allow popping up windows // from shell menus"; we can always add a separate sessionMode // option if need arises. - this._showLayoutItem.visible = Main.sessionMode.allowSettings; + this._showLayoutItem.actor.visible = Main.sessionMode.allowSettings; }, _currentInputSourceChanged: function() {